﻿<%@ Page MaintainScrollPositionOnPostback="true" Title="" Language="C#" MasterPageFile="~/MasterPlus.master" AutoEventWireup="true" CodeBehind="wbfrm_Cambio_Proveedores.aspx.cs" Inherits="FrontEndPlus.Módulos.Catálogos_y_Mantenimientos.wbfrm_Cambio_Proveedores" %>
<%@ Register Src="~/Módulos/Catálogos y Mantenimientos/MenuVertical.ascx" TagName="MenuVertical" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="App_Themes/CSS/Smoke.css"/>
    <link type="text/css" rel="stylesheet" href="App_Themes/CSS/formEspera.css" />
    <script type="text/javascript" src="JS/Smoke.min.js"></script>
    <script type="text/javascript" src="JS/Smoke.js"></script>
     <style type="text/css">
        .auto-style2 {
            width: 307px;
        }

        .auto-style4 {
            height: 33px;
        }
    </style> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">   
    <div>
        <uc1:MenuVertical ID="MenuVertical1" runat="server"/>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Panel ID="Panel3" runat="server">
         <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
            <tr>
                  <td></td>
                <td align="center"></td>
                <td align="center" class="auto-style2" colspan="8">
                    <h1><strong>Cambio de Proveedor</strong></h1>
                </td>
            </tr>
            </table>
        <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td align="center" class="auto-style2">
                    <asp:ToolkitScriptManager ID="tsm_ScriptManager" runat="server"></asp:ToolkitScriptManager>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2">
                    <h2 style="color: darkblue">Agregar/Modificar</h2>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                  
                </td>
                <td align="right" class="auto-style4">Id: </td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Id" runat="server" TabIndex="4" MaxLength="10" ReadOnly="True" Width="59px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Nombre(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Nombre" runat="server" MaxLength="30" Width="229px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txt_Nombre" EnableClientScript="False" ErrorMessage="Digitar Nombre" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>            
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Plazo:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Plazo" runat="server" Width="145px" MaxLength="11"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txt_Plazo" EnableClientScript="False" ErrorMessage="Digitar Plazo" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>            
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Correo Electrónico:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Email" runat="server" Width="182px" MaxLength="40"></asp:TextBox><br />
                    <asp:RegularExpressionValidator
                        ID="regexEmailValid"
                        runat="server"
                        ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ControlToValidate="txt_Email"
                        ErrorMessage="Formato de correo inválido" CssClass="msjerror" ForeColor="Maroon"></asp:RegularExpressionValidator>
                </td>
           </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Estado:</td>
                <td class="auto-style2">
                    <asp:CheckBox ID="chk_Activo" runat="server" Text="Activo" CssClass="letrapantallas" OnCheckedChanged="chk_Activo_CheckedChanged" AutoPostBack="True" />
                    <asp:CheckBox ID="chk_Inactivo" runat="server" Text="Inactivo" CssClass="letrapantallas" OnCheckedChanged="chk_Inactivo_CheckedChanged" AutoPostBack="True" /><br />
                    <asp:Label ID="lbl_ErrorCheck" runat="server" ForeColor="Maroon" CssClass="msjerror"></asp:Label>
                </td>
            </tr>
            <tr>
                 <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2">
                    <h2 style="color: darkblue">Teléfonos</h2>
                </td>
            </tr>
            <tr>
                 <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                    <asp:Image ID="img_Celular" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/Telefono_Celular.png" />
                </td>
                <td align="right" class="auto-style4">Teléfono:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Celular" runat="server" Width="127px" MaxLength="11"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="rfv_ValidarCelular" runat="server" ControlToValidate="txt_Celular"
                        ValidationGroup="Initial" Display="None" ErrorMessage="Favor digitar Número de Celular correcto."
                        SetFocusOnError="True" CssClass="msjerror" ForeColor="Maroon"></asp:RequiredFieldValidator>
                    <%--<asp:MaskedEditExtender ID="txtCel_MaskedEditExtender" runat="server" TargetControlID="txt_Celular"
                        Mask="99999999">--%>
                    <%--</asp:MaskedEditExtender>--%>
                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" TargetControlID="rfv_ValidarCelular">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>           
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <asp:ImageButton ID="imgbtn_Agregar" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" OnClick="imgbtn_Agregar_Click"/>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>